//
//  HMTransitioningAnimator.h
//  HMBest
//
//  Created by itcast on 17/4/23.
//  Copyright © 2017年 itcast. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


/**
 专门负责转场动画
 */
@interface HMTransitioningAnimator : NSObject <UIViewControllerTransitioningDelegate,UIViewControllerAnimatedTransitioning>

@property (assign, nonatomic)   BOOL    isPresented;

// 提供实现具体出现转场实现类的实例
- (id <UIViewControllerAnimatedTransitioning>)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source;

// 提供一个实现具体消失转场实现类的实例
- (id <UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed;

@end
